package com.xtoad.ecms.common.web.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 返回结果增强注解
 *
 * @author xtoad
 * @date 2021/02/16
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface ResponseAdvice {

    /**
     * 默认True
     *
     * @return 结果
     */
    boolean value() default true;
}
